<template>
  <div class="main">main{{ countStore.counter }}</div>
  <button @click="changeCount">changeCount</button>
</template>
<style lang="less" scoped>
.main {
}
</style>
<script setup lang="ts">
import userCounterStore from '@/store/counter';
const countStore = userCounterStore();

const changeCount = () => {
  countStore.changeCounterAction(999);
};
</script>
